package cn.iocoder.yudao.module.signature.controller.admin.application.vo;

import cn.iocoder.yudao.framework.common.pojo.PageParam;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;
import java.util.List;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 应用分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class ApplicationInfoPageReqVO extends PageParam {

    @Schema(description = "应用id", example = "938")
    private Long id;

    @Schema(description = "应用名称", example = "芋艿")
    private String applicationName;

    @Schema(description = "状态", example = "1")
    private String applicationStatus;

    @Schema(description = "归属类型 公共 个人", example = "1")
    private String belongType;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

    @Schema(description = "签名工具标识")
    private Integer signatureToolFlag;


    @Schema(description = "用户编号", example = "1024")
    private Long userId;
    @Schema(description = "用户名称", example = "1024")
    private String userName;

    @Schema(description = "用户编号集合", example = "1024")
    private List<Long> userIds;

}